AI SDK Kotlin
Toggle table of contents
0.2.0
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk.providers
/
GoogleVertexProviderSettings
Google
Vertex
Provider
Settings
@
Serializable
data
class
GoogleVertexProviderSettings
(
val
project
:
String
?
=
null
,
val
location
:
String
=
"us-central1"
,
val
baseURL
:
String
?
=
null
,
val
accessToken
:
String
?
=
null
,
val
apiKey
:
String
?
=
null
,
val
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
val
generateId
:
(
)
->
String
=
{ ai.torad.aisdk.generateId() }
)
Members
Constructors
Google
Vertex
Provider
Settings
Link copied to clipboard
constructor
(
project
:
String
?
=
null
,
location
:
String
=
"us-central1"
,
baseURL
:
String
?
=
null
,
accessToken
:
String
?
=
null
,
apiKey
:
String
?
=
null
,
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
generateId
:
(
)
->
String
=
{ ai.torad.aisdk.generateId() }
)
Properties
access
Token
Link copied to clipboard
val
accessToken
:
String
?
api
Key
Link copied to clipboard
val
apiKey
:
String
?
base
URL
Link copied to clipboard
val
baseURL
:
String
?
generate
Id
Link copied to clipboard
val
generateId
:
(
)
->
String
headers
Link copied to clipboard
val
headers
:
Map
<
String
,
String
>
location
Link copied to clipboard
val
location
:
String
project
Link copied to clipboard
val
project
:
String
?